package android.FiltrosJava;

public class MinNeighborhood extends Neighborhood{
	public MinNeighborhood(int neighborhoodSize){
		super(neighborhoodSize);
	}
	
	public int[] comparePixels(int[] imageData, int[] newData){
		for (int y = 0; y< 3; y++){
			if (newData[y] < imageData[y])
				imageData[y] = newData[y];			
		}
		return imageData;
	}
}
